package mask;

import java.util.Scanner;

public class TItle6 {
	
		public static void main(String[] args) {
			Scanner scan = new Scanner(System.in);
			System.out.println("输入月");
			int month = scan.nextInt();
			System.out.println("输入日");
			int day = scan.nextInt();
			int sum = 0;
			switch (month) {  
			case 12 : sum += 30;
			case 11 : sum += 31;
			case 10 : sum += 30;
			case 9 : sum += 31;
			case 8 : sum += 31;
			case 7 : sum += 30;
			case 6 : sum += 31;
			case 5 : sum += 30;
			case 4 : sum += 31;
			case 3 : sum += 28;
			case 2 : sum += 31;
			case 1 : sum += day;
			}
			System.out.println("这是今年的第" + sum + "天");
		}
	}


